home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_147 / sys / atari / atari.zoo / makesys.mwc < prev    next >
Text File  |  1988-07-25  |  790b  |  41 lines

  1. #
  2. # MWC Makefile for MG (Atari ST) -- system library
  3. #
  4. #    Marion Hakanson        Jan '88
  5.  
  6. # Note that this Makefile expects the sources to be in ..\..\,
  7. # as do the source files here.
  8.  
  9. # SYSLIB and CFLAGS should be defined by the top level Makefile.
  10. # These are defaults in case this Makefile is called manually.
  11. SYSLIB    = libsys.a
  12.  
  13. CDEFS    = -DPREFIXREGION
  14. CFLAGS    = -O -DMWC $(CDEFS)
  15.  
  16. OBJ    = cinfo.o fileio.o misc.o term.o ttyio.o
  17. IND    = diredsup.o alloc.o getn.o
  18. OBJS    = $(OBJ) $(IND)
  19. INC    = ..\..\def.h
  20. OINC    = chrdef.h sysdef.h ttydef.h
  21.  
  22.  
  23. all:    $(SYSLIB)
  24.     @echo $(SYSLIB) completed.
  25.  
  26. $(SYSLIB): $(OBJS)
  27.     ar rcv $@ $?
  28.  
  29.  
  30. $(OBJ):        $(INC) $(OINC)
  31.  
  32. diredsup.o:    $(INC) $(OINC) ..\..\kbd.h
  33.  
  34. getn.o:        getn.s
  35.     as68toas < $? > tmp.s; $(AS) $(ASFLAGS) -o $@ tmp.s; rm tmp.s
  36.  
  37.  
  38. clean:
  39.     -rm $(OBJS) tmp.s $(SYSLIB)
  40.  
  41.